package com.it.emall.service;

import com.it.emall.domain.Recipes;

import java.util.List;

/**
 * 食谱service
 */
public interface RecipesService {

    List<Recipes> selectRecipesList(Integer recipesId , String name);


    /**
     * 后台
     */
    List<Recipes> selectManageRecipes();
    List<Recipes> searchRecipes(String recipeName, String category, String description, String instructions);
    int addRecipe(Recipes recipe);
    int updateRecipe(Recipes recipe);
    int deleteRecipe(Integer id);
}
